import 'package:word_game/engine/core.dart';
import 'package:word_game/battle/battle.dart';

class WMZKSkill extends Skill {
  WMZKSkill() : super('望梅止渴') {
    Debuff dizzy = Debuff();
    dizzy.name = '眩晕';
    dizzy.lastRound = 2;
    dizzy.noAttack = true;
    debuffs = [dizzy];
  }

  @override
  List<Monster> determineTargets(List<Monster> alternatives) {
    return alternatives;
  }

  @override
  AttackAction determineAction(Hero hero) {
    AttackAction action = AttackAction();
    action.attackType = DamageType.physical;
    action.attackNumber = hero.attackPower;
    return action;
  }
  
}